<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
d2登录成功!

<div th:text="${session.user.userName}">[...]</div>

</body>
</html>